//
//  AlertService.h
//  YouthOlympic2014
//
//  Created by xiangpaopao on 14-7-9.
//  Copyright (c) 2014年 mitian. All rights reserved.
//

#import <Foundation/Foundation.h>

@class GameEvent;
extern NSString * AlertDidChangedNotification;

@interface AlertService : NSObject

@property (nonatomic, copy) NSString* dailyAlertTime;
@property (nonatomic, copy) NSString* eventAheadTime;

- (void)setDailyAlertTime:(NSString*)time;
- (void)setEventAheadTime:(NSString*)time;
- (NSString*)getDailyAlertTime;
- (NSString*)getEventAheadTime;

+ (id)sharedCenter;

+ (BOOL)isEventAlertOn;
+ (void)setEventAlert:(BOOL)isOn;
+ (BOOL)isDailyAlertOn;
+ (void)setDailyAlert:(BOOL)isOn;

- (void)reloadData;

- (void)clearNotifications;
- (void)scheduleEventLocalNotification;
- (void)scheduleDailyLocalNotification;

- (void)addNotificationForEvent:(GameEvent*)event;
- (void)removeNotification:(NSNotification*)notify;


@end
